﻿<Window x:Class="Nox.Amuse.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="{Binding WindowTitle, Mode=OneWay}"
        Icon="/Amuse;component/Amuse.ico"
        mc:Ignorable="d"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:nox="clr-namespace:Nox.Amuse.View"
        d:DesignHeight="373"
        d:DesignWidth="605"
        Height="{Binding WindowHeight, Mode=TwoWay}"
        Width="{Binding WindowWidth, Mode=TwoWay}"
        Left="{Binding WindowLeft, Mode=TwoWay}"
        Top="{Binding WindowTop, Mode=TwoWay}"
        WindowState="{Binding WindowState, Mode=TwoWay}">
    <Window.TaskbarItemInfo>
        <TaskbarItemInfo />
    </Window.TaskbarItemInfo>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="*" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>

        <nox:CommandBar Grid.Row="0"
                        DataContext="{Binding CommandContent}" />
        <nox:TabBar x:Name="tabBar"
                    Grid.Row="1"
                    DataContext="{Binding TabBarContent}" />
        <nox:Tab Grid.Row="2"
                 x:Name="TabRegion"
                 DataContext="{Binding CurrentTab, Mode=OneWay}" />
    </Grid>
</Window>
